<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>VUE3-DEMO</title>

  <style type="text/css">
    .init-box {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      background-color: #fff;
    }

    .init-box .init-tips {
      color: #8B90A0;
      font-size: 20px;
    }

    .init-box .init-loading {
      stroke: #343640;
      stroke-width: 2;
      stroke-linecap: round;
      background: none;
      animation: loading-rotate 0.8s linear infinite;
      width: 100px;
      height: 100px;
    }

    .init-box .init-loading .path {
      fill: none;
    }

    @keyframes loading-rotate {
      to {
        transform: rotate(1turn)
      }
    }

    @keyframes loading-wipe {
      0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
      }

      50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -40px;
      }

      to {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -120px;
      }
    }
  </style>
</head>

<body>
  <div id="app">
    <div class="init-box">
      <svg viewBox="0 0 50 50" class="init-loading">
        <circle cx="25" cy="25" r="20" fill="none" stroke="#F2F2F2" class="path"></circle>
        <circle cx="25" cy="25" r="20" fill="none" stroke="#24A2FF" stroke-dasharray="60,150" class="path"></circle>
      </svg>

      <p class="init-tips">加载中...</p>
    </div>
  </div>

  </div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>